package com.example.miaosha.miaosha_20220302.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxw
 * @since 2022-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_detail")
public class Detail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品规格id
     */
    private Integer skuId;

    /**
     * 订单详情id
     */
    private Integer orderDetailId;

    /**
     * 本次扣减数量
     */
    private Integer quantityTrade;


}
